The Multiprocessing Services function MPSetTaskWeight handles the weight of a task using the MPTaskWeight type, which has the following definition.
typedef UInt32 MPTaskWeight;
Introduced with Multiprocessing Services 2.0.